home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
ear
/
mui23dev.lha
/
MUI
/
Developer
/
Autodocs
/
MUI_Gauge.doc
< prev
next >
Wrap
Text File
|
1994-12-23
|
2KB
|
90 lines
TABLE OF CONTENTS
Gauge.mui/Gauge.mui
Gauge.mui/MUIA_Gauge_Current
Gauge.mui/MUIA_Gauge_Divide
Gauge.mui/MUIA_Gauge_Horiz
Gauge.mui/MUIA_Gauge_InfoText
Gauge.mui/MUIA_Gauge_Max
Gauge.mui/Gauge.mui
A gauge object is a nice looking display element useful
for some kind of progress display.
Gauge.mui/MUIA_Gauge_Current
NAME
MUIA_Gauge_Current -- (V4 ) [ISG], LONG
FUNCTION
Set the current level of the gauge. The value must be
between 0 and MUIA_Gauge_Max.
SEE ALSO
MUIA_Gauge_Max
Gauge.mui/MUIA_Gauge_Divide
NAME
MUIA_Gauge_Divide -- (V4 ) [ISG], BOOL
FUNCTION
If this attribute is != 0, every value set with
MUIA_Gauge_Current will be divided by this before
further processing.
EXAMPLE
See BoopsiDoor demo program.
SEE ALSO
MUIA_Gauge_Current
Gauge.mui/MUIA_Gauge_Horiz
NAME
MUIA_Gauge_Horiz -- (V4 ) [I..], BOOL
FUNCTION
Determine if you want a horizontal or vertical gauge.
Default to FALSE
SEE ALSO
MUIA_Gauge_Current
Gauge.mui/MUIA_Gauge_InfoText
NAME
MUIA_Gauge_InfoText -- (V7 ) [ISG], char *
FUNCTION
The text given here is displayed within a gauge object
and is usually intended to show some kind of percentage
information.
This texts preparse is set to "\33c\0338", this makes
it appear centered and highlighted by default.
Any %ld will be replaced with the current value of
MUIA_Gauge_Current.
Note: Currently, InfoText works only for horizontal
gauges and gives them a fixed height.
VERSION
Implemented in version 7 of gauge class (MUI 1.5).
EXAMPLE
...
MUIA_Gauge_InfoText, "%ld %%",
...
SEE ALSO
MUIA_Gauge_Current
Gauge.mui/MUIA_Gauge_Max
NAME
MUIA_Gauge_Max -- (V4 ) [ISG], LONG
FUNCTION
Set the maximum value for the gauge.
Defaults to 100.
SEE ALSO
MUIA_Gauge_Current